package com.zhz.mall.admin.dto;

import com.zhz.mall.admin.modules.pms.model.PmsProductAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/***
 * @Author zhouhengzhe
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("用于商品分类--筛选属性下拉级联数据")
public class ProductAttributeCateDTO {

    @ApiModelProperty("商品类型id")
    private Long id;

    @ApiModelProperty("商品类型名称")
    private String name;

    @ApiModelProperty("商品属性二级级联")
    private List<PmsProductAttribute> productAttributeList;
}
